import 'dart:convert';

AssessmentStudentQueryDto assessmentStudentQueryDtoFromJson(String str) =>
    AssessmentStudentQueryDto.fromJson(json.decode(str));

String assessmentStudentQueryDtoToJson(AssessmentStudentQueryDto data) =>
    json.encode(data.toJson());

class AssessmentStudentQueryDto {
  AssessmentStudentQueryDto({
    this.status,
    this.type,
    this.userName,
  });

  List<String>? status;
  List<String>? type;
  String? userName;

  factory AssessmentStudentQueryDto.fromJson(Map<String, dynamic> json) =>
      AssessmentStudentQueryDto(
        status: List<String>.from(json["staus"].map((x) => x)),
        type: List<String>.from(json["type"].map((x) => x)),
        userName: json["userName"],
      );

  Map<String, dynamic> toJson() => {
        "status": List<dynamic>.from(status!.map((x) => x)),
        "type": List<dynamic>.from(type!.map((x) => x)),
        "userName": userName,
      };
}
